<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IupClose</title>

<link rel="stylesheet" type="text/css" href="../../style.css">
</head>
<body>

<h2>IupClose</h2>
<p>Ends the IUP toolkit and releases internal 
  memory. It will also automatically destroy all dialogs and all elements that 
have names.</p>
<h3>
Parameters/Return</h3>
<pre>void IupClose(void); [in C]
iup.Close() [in Lua]</pre>
<h3>Notes</h3>
<p>In Windows, the CoUninitialize function is called.</p>
<p>In Motif, the XtDestroyApplicationContext function is called.</p>
<p>This function is usually called by the 
  application. But if IUP is dynamically loaded in Lua 5 then you should call 
<b>iup.Close</b> from Lua.</p>
<h3>See Also</h3>
<p><a href="iupopen.html">IupOpen</a></p>

</body>

</html>
